package com.weiter.quartz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weiter.quartz.domain.SysJobLog;
import org.apache.ibatis.annotations.Update;

/**
 * 定时任务调度日志
 * @author weiter
 */
public interface SysJobLogMapper extends BaseMapper<SysJobLog> {

    /**
     * 清空任务日志
     */
    @Update("truncate table sys_job_log")
    void cleanJobLog();
}
